package com.bigevent.bigevent.service;

import com.bigevent.bigevent.entity.Article;
import com.bigevent.bigevent.entity.PageBean;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author yangxudong
 * @description:
 * @date 2024/2/10 11:26
 */
public interface ArticleService {
    void registArticle(Article article);

    PageBean<Article> getArticleList(Integer pageNum, Integer pageSize, Integer categoryId, String state);

    String uploadArticleImage(MultipartFile file);

    void updateArticle(Article article);

    Article getArticleDetail(Integer id);

    void deleteArticle(Integer id);
}
